#ifndef _CTRL_DATA_TEST_H
#define _CTRL_DATA_TEST_H
#include "CMediaFile.h"
#include "CRadarTest.h"
#include "ui_CtrlDataTest.h"
#include <QDialog>
#include <QStringList>
#include <qcontainerfwd.h>
#include <qobject.h>
#include <qtmetamacros.h>


class CtrlDataTest : public QDialog {
  Q_OBJECT

public:
  CtrlDataTest(QWidget *parent);
  ~CtrlDataTest();

private:
  Ui::CtrlDataTest ui;

public:
  void OnInitWindow();

private slots:
  void on_pbInputBrowse_clicked();
  void on_pbStart_clicked();
  void on_pbStop_clicked();

private:
  void SearchAllFileInPath(QString path);

public slots:
  int SetProcess(int proc);
  void AddMsg(QString msg);

public:
  int Start();

private:
  QStringList file_list_;
  QString folder_input_;
  CThreadRadarTest *thread_test_;
};

#endif